<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.16"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SA-PCB: make_plots Namespace Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">SA-PCB
   </div>
   <div id="projectbrief">Annealing-basedPCBplacementtool</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.16 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a> &#124;
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle">
<div class="title">make_plots Namespace Reference</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ab155875a957331cfb3c6b3b83835215d"><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemake__plots.html#ab155875a957331cfb3c6b3b83835215d">plot_circuit</a> (circuit_name, components, comp2rot, nets, board_dim, figname=None, ax=None)</td></tr>
<tr class="separator:ab155875a957331cfb3c6b3b83835215d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4b0aaf237d8de7eee3a5335dc5114b5d"><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemake__plots.html#a4b0aaf237d8de7eee3a5335dc5114b5d">pin_pos</a> (pin_loc, modules, comp2rot)</td></tr>
<tr class="separator:a4b0aaf237d8de7eee3a5335dc5114b5d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6900c9d2bec82faacb7687d5af02fe84"><td class="memItemLeft" align="right" valign="top"><a id="a6900c9d2bec82faacb7687d5af02fe84"></a>
def&#160;</td><td class="memItemRight" valign="bottom"><b>plot_pl</b> (plfile, nodesfile, netsfile, figname, shapesfile=None, board_dim=None)</td></tr>
<tr class="separator:a6900c9d2bec82faacb7687d5af02fe84"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abc990064fcfda9d5c36919532e75951b"><td class="memItemLeft" align="right" valign="top"><a id="abc990064fcfda9d5c36919532e75951b"></a>
def&#160;</td><td class="memItemRight" valign="bottom"><b>make_heatmap_anim</b> ()</td></tr>
<tr class="separator:abc990064fcfda9d5c36919532e75951b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a31407ec9a5cc73c7d6cf9209b40b4436"><td class="memItemLeft" align="right" valign="top"><a id="a31407ec9a5cc73c7d6cf9209b40b4436"></a>
def&#160;</td><td class="memItemRight" valign="bottom"><b>make_placement_anim</b> ()</td></tr>
<tr class="separator:a31407ec9a5cc73c7d6cf9209b40b4436"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a34003bfb3201abcb11ea3adf1873e463"><td class="memItemLeft" align="right" valign="top"><a id="a34003bfb3201abcb11ea3adf1873e463"></a>
def&#160;</td><td class="memItemRight" valign="bottom"><b>make_graphs</b> (reports_dir)</td></tr>
<tr class="separator:a34003bfb3201abcb11ea3adf1873e463"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3abfc166daf0897af783c2eafeb15e60"><td class="memItemLeft" align="right" valign="top"><a id="a3abfc166daf0897af783c2eafeb15e60"></a>
def&#160;</td><td class="memItemRight" valign="bottom"><b>main</b> (brd_name, out_file, pl_file=None, pl_anim=False, heatmap_anim=False, reports_dir=False)</td></tr>
<tr class="separator:a3abfc166daf0897af783c2eafeb15e60"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:af46a4418808b8a397a12519aa99e400a"><td class="memItemLeft" align="right" valign="top"><a id="af46a4418808b8a397a12519aa99e400a"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>arguments</b> = docopt(__doc__, version='make_plots v0.1')</td></tr>
<tr class="separator:af46a4418808b8a397a12519aa99e400a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2487900f4e8d8cfee0e0f4ab2df1a2b2"><td class="memItemLeft" align="right" valign="top"><a id="a2487900f4e8d8cfee0e0f4ab2df1a2b2"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>brd_name</b></td></tr>
<tr class="separator:a2487900f4e8d8cfee0e0f4ab2df1a2b2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a55229bc9ace582efa24455d709ee7651"><td class="memItemLeft" align="right" valign="top"><a id="a55229bc9ace582efa24455d709ee7651"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>out_file</b></td></tr>
<tr class="separator:a55229bc9ace582efa24455d709ee7651"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a757bd70c56951943cbaf61767a0828d2"><td class="memItemLeft" align="right" valign="top"><a id="a757bd70c56951943cbaf61767a0828d2"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>pl_file</b></td></tr>
<tr class="separator:a757bd70c56951943cbaf61767a0828d2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8c39afa4f0d08fe7dc2c8bb04b1996e8"><td class="memItemLeft" align="right" valign="top"><a id="a8c39afa4f0d08fe7dc2c8bb04b1996e8"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>reports_dir</b></td></tr>
<tr class="separator:a8c39afa4f0d08fe7dc2c8bb04b1996e8"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><pre class="fragment">make_plots.
This program makes plots
Usage:
  make_plots.py -h | --help
  make_plots.py --brd &lt;BRD&gt; --pl &lt;PL&gt; --out &lt;OUT_NAME&gt; --reports &lt;reports&gt;

-h --help                      Show this message.
-i --brd BRD                   The circuit file.
-o --out OUT
-p --pl PL
-r --reports reports
-apl --anim_pl animate_reports
-arb --anim_rb animate_routability
</pre> </div><h2 class="groupheader">Function Documentation</h2>
<a id="a4b0aaf237d8de7eee3a5335dc5114b5d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4b0aaf237d8de7eee3a5335dc5114b5d">&#9670;&nbsp;</a></span>pin_pos()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def make_plots.pin_pos </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>pin_loc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>modules</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>comp2rot</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<pre class="fragment">Convert localized pin positions to position wrt
 global coordinates
:param pin_loc: pin location of the form [pinname, [xoffset, yoffset]]
:param modules: list of modules
</pre> 
</div>
</div>
<a id="ab155875a957331cfb3c6b3b83835215d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab155875a957331cfb3c6b3b83835215d">&#9670;&nbsp;</a></span>plot_circuit()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def make_plots.plot_circuit </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>circuit_name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>components</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>comp2rot</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>nets</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>board_dim</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>figname</em> = <code>None</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>ax</em> = <code>None</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<pre class="fragment">board dim: [[xs],[ys]]
</pre> 
</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.16
</small></address>
</body>
</html>
